package agency.web.app.service;

import java.util.Date;
import java.util.List;



import agency.web.app.domain.Tour;
import agency.web.app.domain.Trip;
import agency.web.app.domain.User;

public interface TripService {

	void addTrip (Trip t);
	void modifyTrip(Trip t);
	List<Trip> findAllTrips();
	Trip findTripById (int id);
	List<Trip> findTripByClient (User c);
	List<Trip> findTripByAgent (User u);
	List<Trip> findTripByDate (Date from, Date to);
	List<Trip> findTripByTour (Tour t);
	void deleteTripById(int id);
	void deleteTrip(Trip t);
	
}
